home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / fcfgw40s.zip / TIPDLG.H < prev    next >
C/C++ Source or Header  |  1996-04-18  |  1KB  |  46 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // CTipDlg dialog
  3. #ifndef __TIPDLG_H
  4. #define __TIPDLG_H
  5.  
  6. class CTipDlg : public CDialog
  7. {
  8. // Construction
  9. public:
  10.     CTipDlg(CWnd* pParent = NULL);     // standard constructor
  11.  
  12. // Dialog Data
  13.     //{{AFX_DATA(CTipDlg)
  14.     // enum { IDD = IDD_TIP };
  15.     BOOL    m_bStartup;
  16.     CString    m_strTip;
  17.     //}}AFX_DATA
  18.  
  19.     FILE* m_pStream;
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL(CTipDlg)
  24.     protected:
  25.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  26.     //}}AFX_VIRTUAL
  27.  
  28. // Implementation
  29. public:
  30.     virtual ~CTipDlg();
  31.  
  32. protected:
  33.     // Generated message map functions
  34.     //{{AFX_MSG(CTipDlg)
  35.     afx_msg void OnNextTip();
  36.     afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  37.     virtual void OnOK();
  38.     virtual BOOL OnInitDialog();
  39.     afx_msg void OnPaint();
  40.     //}}AFX_MSG
  41.     DECLARE_MESSAGE_MAP()
  42.  
  43.     void GetNextTipString(CString& strNext);
  44. };
  45.  
  46. #endif